module.exports = async (req,res,next)=>{
    const status = req.session.user;
    console.log(`status`);
    if(status){
        next();
    }else {
        res.redirect('/tags')
    }
    }